package com.chenyue.cm.user.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * banner图
 * </p>
 *
 * @author Lbx
 * @since 2024-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="JdShoppingBanner对象", description="banner图")
public class JdShoppingBanner extends Model<JdShoppingBanner> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "banner图")
    private String image;

    @ApiModelProperty(value = "创建时间")
    private String creationTime;

    @ApiModelProperty(value = "删除状态 0 未删除 1 已删除")
    private Integer deleteFlag;

    @ApiModelProperty(value = "后台创建人用户id")
    private Integer creator;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
